package com.example.restaurantclient.LikeButton;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.example.restaurantclient.R;

public class ButtonActivity extends AppCompatActivity implements OnLikeListener{

    //收藏按钮
    private LikeButton starButton;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_button);
        starButton= (LikeButton)this.findViewById(R.id.star_button);
        starButton.setOnLikeListener(this);
    }

    @Override
    public void liked(LikeButton likeButton) {

    }

    @Override
    public void unLiked(LikeButton likeButton) {

    }
}
